package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MallBonus;

import java.util.*;
public class MallBonusExample extends SgExample<MallBonusExample.Criteria> {
    public static final Class<MallBonus> beanClass = MallBonus.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn owner;
    public static EntityColumn ownerBonus;
    public static EntityColumn boss;
    public static EntityColumn dealTime;
    public static EntityColumn payMoney;
    public static EntityColumn num;
    public static EntityColumn bossBonus;
    public static EntityColumn tradeCode;
    public static EntityColumn staff;
    public static EntityColumn bonusId;
    public static EntityColumn staffBonus;
    public static EntityColumn status;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        owner = listMap.get("owner");
        ownerBonus = listMap.get("ownerBonus");
        boss = listMap.get("boss");
        dealTime = listMap.get("dealTime");
        payMoney = listMap.get("payMoney");
        num = listMap.get("num");
        bossBonus = listMap.get("bossBonus");
        tradeCode = listMap.get("tradeCode");
        staff = listMap.get("staff");
        bonusId = listMap.get("bonusId");
        staffBonus = listMap.get("staffBonus");
        status = listMap.get("status");
        }

    public MallBonusExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MallBonusExample.Criteria createCriteriaInternal() {
        return new MallBonusExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MallBonusExample.Criteria andOwnerIsNull() {
            return isNull(owner);
        }

        public MallBonusExample.Criteria andOwnerIsNotNull() {
            return isNotNull(owner);
        }

        public MallBonusExample.Criteria andOwnerEqualTo(Long value) {
            return equalTo(owner, value);
        }

        public MallBonusExample.Criteria andOwnerNotEqualTo(Long value) {
            return notEqualTo(owner, value);
        }

        public MallBonusExample.Criteria andOwnerGreaterThan(Long value) {
            return greaterThan(owner, value);
        }

        public MallBonusExample.Criteria andOwnerGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(owner, value);
        }

        public MallBonusExample.Criteria andOwnerLessThan(Long value) {
            return lessThan(owner, value);
        }

        public MallBonusExample.Criteria andOwnerLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(owner, value);
        }

        public MallBonusExample.Criteria andOwnerIn(List<Long> values) {
            return in(owner, values);
        }

        public MallBonusExample.Criteria andOwnerNotIn(List<Long> values) {
            return notIn(owner, values);
        }

        public MallBonusExample.Criteria andOwnerBetween(Long value1, Long value2) {
            return between(owner, value1, value2);
        }

        public MallBonusExample.Criteria andOwnerNotBetween(Long value1, Long value2) {
            return notBetween(owner, value1, value2);
        }
        public MallBonusExample.Criteria andOwnerBonusIsNull() {
            return isNull(ownerBonus);
        }

        public MallBonusExample.Criteria andOwnerBonusIsNotNull() {
            return isNotNull(ownerBonus);
        }

        public MallBonusExample.Criteria andOwnerBonusEqualTo(String value) {
            return equalTo(ownerBonus, value);
        }

        public MallBonusExample.Criteria andOwnerBonusNotEqualTo(String value) {
            return notEqualTo(ownerBonus, value);
        }

        public MallBonusExample.Criteria andOwnerBonusGreaterThan(String value) {
            return greaterThan(ownerBonus, value);
        }

        public MallBonusExample.Criteria andOwnerBonusGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(ownerBonus, value);
        }

        public MallBonusExample.Criteria andOwnerBonusLessThan(String value) {
            return lessThan(ownerBonus, value);
        }

        public MallBonusExample.Criteria andOwnerBonusLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(ownerBonus, value);
        }

        public MallBonusExample.Criteria andOwnerBonusLike(String value) {
            return like(ownerBonus, value);
        }

        public MallBonusExample.Criteria andOwnerBonusNotLike(String value) {
            return notLike(ownerBonus, value);
        }

        public MallBonusExample.Criteria andOwnerBonusIn(List<String> values) {
            return in(ownerBonus, values);
        }

        public MallBonusExample.Criteria andOwnerBonusNotIn(List<String> values) {
            return notIn(ownerBonus, values);
        }

        public MallBonusExample.Criteria andOwnerBonusBetween(String value1, String value2) {
            return between(ownerBonus, value1, value2);
        }

        public MallBonusExample.Criteria andOwnerBonusNotBetween(String value1, String value2) {
            return notBetween(ownerBonus, value1, value2);
        }
        public MallBonusExample.Criteria andBossIsNull() {
            return isNull(boss);
        }

        public MallBonusExample.Criteria andBossIsNotNull() {
            return isNotNull(boss);
        }

        public MallBonusExample.Criteria andBossEqualTo(Long value) {
            return equalTo(boss, value);
        }

        public MallBonusExample.Criteria andBossNotEqualTo(Long value) {
            return notEqualTo(boss, value);
        }

        public MallBonusExample.Criteria andBossGreaterThan(Long value) {
            return greaterThan(boss, value);
        }

        public MallBonusExample.Criteria andBossGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(boss, value);
        }

        public MallBonusExample.Criteria andBossLessThan(Long value) {
            return lessThan(boss, value);
        }

        public MallBonusExample.Criteria andBossLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(boss, value);
        }

        public MallBonusExample.Criteria andBossIn(List<Long> values) {
            return in(boss, values);
        }

        public MallBonusExample.Criteria andBossNotIn(List<Long> values) {
            return notIn(boss, values);
        }

        public MallBonusExample.Criteria andBossBetween(Long value1, Long value2) {
            return between(boss, value1, value2);
        }

        public MallBonusExample.Criteria andBossNotBetween(Long value1, Long value2) {
            return notBetween(boss, value1, value2);
        }
        public MallBonusExample.Criteria andDealTimeIsNull() {
            return isNull(dealTime);
        }

        public MallBonusExample.Criteria andDealTimeIsNotNull() {
            return isNotNull(dealTime);
        }

        public MallBonusExample.Criteria andDealTimeEqualTo(Date value) {
            return equalTo(dealTime, value);
        }

        public MallBonusExample.Criteria andDealTimeNotEqualTo(Date value) {
            return notEqualTo(dealTime, value);
        }

        public MallBonusExample.Criteria andDealTimeGreaterThan(Date value) {
            return greaterThan(dealTime, value);
        }

        public MallBonusExample.Criteria andDealTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(dealTime, value);
        }

        public MallBonusExample.Criteria andDealTimeLessThan(Date value) {
            return lessThan(dealTime, value);
        }

        public MallBonusExample.Criteria andDealTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(dealTime, value);
        }

        public MallBonusExample.Criteria andDealTimeIn(List<Date> values) {
            return in(dealTime, values);
        }

        public MallBonusExample.Criteria andDealTimeNotIn(List<Date> values) {
            return notIn(dealTime, values);
        }

        public MallBonusExample.Criteria andDealTimeBetween(Date value1, Date value2) {
            return between(dealTime, value1, value2);
        }

        public MallBonusExample.Criteria andDealTimeNotBetween(Date value1, Date value2) {
            return notBetween(dealTime, value1, value2);
        }
        public MallBonusExample.Criteria andPayMoneyIsNull() {
            return isNull(payMoney);
        }

        public MallBonusExample.Criteria andPayMoneyIsNotNull() {
            return isNotNull(payMoney);
        }

        public MallBonusExample.Criteria andPayMoneyEqualTo(String value) {
            return equalTo(payMoney, value);
        }

        public MallBonusExample.Criteria andPayMoneyNotEqualTo(String value) {
            return notEqualTo(payMoney, value);
        }

        public MallBonusExample.Criteria andPayMoneyGreaterThan(String value) {
            return greaterThan(payMoney, value);
        }

        public MallBonusExample.Criteria andPayMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(payMoney, value);
        }

        public MallBonusExample.Criteria andPayMoneyLessThan(String value) {
            return lessThan(payMoney, value);
        }

        public MallBonusExample.Criteria andPayMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(payMoney, value);
        }

        public MallBonusExample.Criteria andPayMoneyLike(String value) {
            return like(payMoney, value);
        }

        public MallBonusExample.Criteria andPayMoneyNotLike(String value) {
            return notLike(payMoney, value);
        }

        public MallBonusExample.Criteria andPayMoneyIn(List<String> values) {
            return in(payMoney, values);
        }

        public MallBonusExample.Criteria andPayMoneyNotIn(List<String> values) {
            return notIn(payMoney, values);
        }

        public MallBonusExample.Criteria andPayMoneyBetween(String value1, String value2) {
            return between(payMoney, value1, value2);
        }

        public MallBonusExample.Criteria andPayMoneyNotBetween(String value1, String value2) {
            return notBetween(payMoney, value1, value2);
        }
        public MallBonusExample.Criteria andNumIsNull() {
            return isNull(num);
        }

        public MallBonusExample.Criteria andNumIsNotNull() {
            return isNotNull(num);
        }

        public MallBonusExample.Criteria andNumEqualTo(Integer value) {
            return equalTo(num, value);
        }

        public MallBonusExample.Criteria andNumNotEqualTo(Integer value) {
            return notEqualTo(num, value);
        }

        public MallBonusExample.Criteria andNumGreaterThan(Integer value) {
            return greaterThan(num, value);
        }

        public MallBonusExample.Criteria andNumGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(num, value);
        }

        public MallBonusExample.Criteria andNumLessThan(Integer value) {
            return lessThan(num, value);
        }

        public MallBonusExample.Criteria andNumLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(num, value);
        }

        public MallBonusExample.Criteria andNumIn(List<Integer> values) {
            return in(num, values);
        }

        public MallBonusExample.Criteria andNumNotIn(List<Integer> values) {
            return notIn(num, values);
        }

        public MallBonusExample.Criteria andNumBetween(Integer value1, Integer value2) {
            return between(num, value1, value2);
        }

        public MallBonusExample.Criteria andNumNotBetween(Integer value1, Integer value2) {
            return notBetween(num, value1, value2);
        }
        public MallBonusExample.Criteria andBossBonusIsNull() {
            return isNull(bossBonus);
        }

        public MallBonusExample.Criteria andBossBonusIsNotNull() {
            return isNotNull(bossBonus);
        }

        public MallBonusExample.Criteria andBossBonusEqualTo(String value) {
            return equalTo(bossBonus, value);
        }

        public MallBonusExample.Criteria andBossBonusNotEqualTo(String value) {
            return notEqualTo(bossBonus, value);
        }

        public MallBonusExample.Criteria andBossBonusGreaterThan(String value) {
            return greaterThan(bossBonus, value);
        }

        public MallBonusExample.Criteria andBossBonusGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bossBonus, value);
        }

        public MallBonusExample.Criteria andBossBonusLessThan(String value) {
            return lessThan(bossBonus, value);
        }

        public MallBonusExample.Criteria andBossBonusLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bossBonus, value);
        }

        public MallBonusExample.Criteria andBossBonusLike(String value) {
            return like(bossBonus, value);
        }

        public MallBonusExample.Criteria andBossBonusNotLike(String value) {
            return notLike(bossBonus, value);
        }

        public MallBonusExample.Criteria andBossBonusIn(List<String> values) {
            return in(bossBonus, values);
        }

        public MallBonusExample.Criteria andBossBonusNotIn(List<String> values) {
            return notIn(bossBonus, values);
        }

        public MallBonusExample.Criteria andBossBonusBetween(String value1, String value2) {
            return between(bossBonus, value1, value2);
        }

        public MallBonusExample.Criteria andBossBonusNotBetween(String value1, String value2) {
            return notBetween(bossBonus, value1, value2);
        }
        public MallBonusExample.Criteria andTradeCodeIsNull() {
            return isNull(tradeCode);
        }

        public MallBonusExample.Criteria andTradeCodeIsNotNull() {
            return isNotNull(tradeCode);
        }

        public MallBonusExample.Criteria andTradeCodeEqualTo(String value) {
            return equalTo(tradeCode, value);
        }

        public MallBonusExample.Criteria andTradeCodeNotEqualTo(String value) {
            return notEqualTo(tradeCode, value);
        }

        public MallBonusExample.Criteria andTradeCodeGreaterThan(String value) {
            return greaterThan(tradeCode, value);
        }

        public MallBonusExample.Criteria andTradeCodeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(tradeCode, value);
        }

        public MallBonusExample.Criteria andTradeCodeLessThan(String value) {
            return lessThan(tradeCode, value);
        }

        public MallBonusExample.Criteria andTradeCodeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(tradeCode, value);
        }

        public MallBonusExample.Criteria andTradeCodeLike(String value) {
            return like(tradeCode, value);
        }

        public MallBonusExample.Criteria andTradeCodeNotLike(String value) {
            return notLike(tradeCode, value);
        }

        public MallBonusExample.Criteria andTradeCodeIn(List<String> values) {
            return in(tradeCode, values);
        }

        public MallBonusExample.Criteria andTradeCodeNotIn(List<String> values) {
            return notIn(tradeCode, values);
        }

        public MallBonusExample.Criteria andTradeCodeBetween(String value1, String value2) {
            return between(tradeCode, value1, value2);
        }

        public MallBonusExample.Criteria andTradeCodeNotBetween(String value1, String value2) {
            return notBetween(tradeCode, value1, value2);
        }
        public MallBonusExample.Criteria andStaffIsNull() {
            return isNull(staff);
        }

        public MallBonusExample.Criteria andStaffIsNotNull() {
            return isNotNull(staff);
        }

        public MallBonusExample.Criteria andStaffEqualTo(Long value) {
            return equalTo(staff, value);
        }

        public MallBonusExample.Criteria andStaffNotEqualTo(Long value) {
            return notEqualTo(staff, value);
        }

        public MallBonusExample.Criteria andStaffGreaterThan(Long value) {
            return greaterThan(staff, value);
        }

        public MallBonusExample.Criteria andStaffGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(staff, value);
        }

        public MallBonusExample.Criteria andStaffLessThan(Long value) {
            return lessThan(staff, value);
        }

        public MallBonusExample.Criteria andStaffLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(staff, value);
        }

        public MallBonusExample.Criteria andStaffIn(List<Long> values) {
            return in(staff, values);
        }

        public MallBonusExample.Criteria andStaffNotIn(List<Long> values) {
            return notIn(staff, values);
        }

        public MallBonusExample.Criteria andStaffBetween(Long value1, Long value2) {
            return between(staff, value1, value2);
        }

        public MallBonusExample.Criteria andStaffNotBetween(Long value1, Long value2) {
            return notBetween(staff, value1, value2);
        }
        public MallBonusExample.Criteria andBonusIdIsNull() {
            return isNull(bonusId);
        }

        public MallBonusExample.Criteria andBonusIdIsNotNull() {
            return isNotNull(bonusId);
        }

        public MallBonusExample.Criteria andBonusIdEqualTo(Long value) {
            return equalTo(bonusId, value);
        }

        public MallBonusExample.Criteria andBonusIdNotEqualTo(Long value) {
            return notEqualTo(bonusId, value);
        }

        public MallBonusExample.Criteria andBonusIdGreaterThan(Long value) {
            return greaterThan(bonusId, value);
        }

        public MallBonusExample.Criteria andBonusIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(bonusId, value);
        }

        public MallBonusExample.Criteria andBonusIdLessThan(Long value) {
            return lessThan(bonusId, value);
        }

        public MallBonusExample.Criteria andBonusIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(bonusId, value);
        }

        public MallBonusExample.Criteria andBonusIdIn(List<Long> values) {
            return in(bonusId, values);
        }

        public MallBonusExample.Criteria andBonusIdNotIn(List<Long> values) {
            return notIn(bonusId, values);
        }

        public MallBonusExample.Criteria andBonusIdBetween(Long value1, Long value2) {
            return between(bonusId, value1, value2);
        }

        public MallBonusExample.Criteria andBonusIdNotBetween(Long value1, Long value2) {
            return notBetween(bonusId, value1, value2);
        }
        public MallBonusExample.Criteria andStaffBonusIsNull() {
            return isNull(staffBonus);
        }

        public MallBonusExample.Criteria andStaffBonusIsNotNull() {
            return isNotNull(staffBonus);
        }

        public MallBonusExample.Criteria andStaffBonusEqualTo(String value) {
            return equalTo(staffBonus, value);
        }

        public MallBonusExample.Criteria andStaffBonusNotEqualTo(String value) {
            return notEqualTo(staffBonus, value);
        }

        public MallBonusExample.Criteria andStaffBonusGreaterThan(String value) {
            return greaterThan(staffBonus, value);
        }

        public MallBonusExample.Criteria andStaffBonusGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(staffBonus, value);
        }

        public MallBonusExample.Criteria andStaffBonusLessThan(String value) {
            return lessThan(staffBonus, value);
        }

        public MallBonusExample.Criteria andStaffBonusLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(staffBonus, value);
        }

        public MallBonusExample.Criteria andStaffBonusLike(String value) {
            return like(staffBonus, value);
        }

        public MallBonusExample.Criteria andStaffBonusNotLike(String value) {
            return notLike(staffBonus, value);
        }

        public MallBonusExample.Criteria andStaffBonusIn(List<String> values) {
            return in(staffBonus, values);
        }

        public MallBonusExample.Criteria andStaffBonusNotIn(List<String> values) {
            return notIn(staffBonus, values);
        }

        public MallBonusExample.Criteria andStaffBonusBetween(String value1, String value2) {
            return between(staffBonus, value1, value2);
        }

        public MallBonusExample.Criteria andStaffBonusNotBetween(String value1, String value2) {
            return notBetween(staffBonus, value1, value2);
        }
        public MallBonusExample.Criteria andStatusIsNull() {
            return isNull(status);
        }

        public MallBonusExample.Criteria andStatusIsNotNull() {
            return isNotNull(status);
        }

        public MallBonusExample.Criteria andStatusEqualTo(Boolean value) {
            return equalTo(status, value);
        }

        public MallBonusExample.Criteria andStatusNotEqualTo(Boolean value) {
            return notEqualTo(status, value);
        }

        public MallBonusExample.Criteria andStatusGreaterThan(Boolean value) {
            return greaterThan(status, value);
        }

        public MallBonusExample.Criteria andStatusGreaterThanOrEqualTo(Boolean value) {
            return greaterThanOrEqualTo(status, value);
        }

        public MallBonusExample.Criteria andStatusLessThan(Boolean value) {
            return lessThan(status, value);
        }

        public MallBonusExample.Criteria andStatusLessThanOrEqualTo(Boolean value) {
            return lessThanOrEqualTo(status, value);
        }

        public MallBonusExample.Criteria andStatusIn(List<Boolean> values) {
            return in(status, values);
        }

        public MallBonusExample.Criteria andStatusNotIn(List<Boolean> values) {
            return notIn(status, values);
        }

        public MallBonusExample.Criteria andStatusBetween(Boolean value1, Boolean value2) {
            return between(status, value1, value2);
        }

        public MallBonusExample.Criteria andStatusNotBetween(Boolean value1, Boolean value2) {
            return notBetween(status, value1, value2);
        }
    }
}